package com.liusha.quicksand.service;

import com.liusha.quicksand.po.Blog;
import com.liusha.quicksand.po.Comment;
import com.liusha.quicksand.vo.BlogQuery;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: 一世长安一世欢
 * @Date: 2020/10/23
 * @Time: 17:15
 * @Description: No Description
 */
public interface CommentService {

    List<Comment> listCommentByBlogId(Long blogId);

    Comment saveComment(Comment comment);

   Page<Comment> listComment(Pageable pageable);

   Page<Comment> listComm(String kws,Pageable pageable);

   void deleteById(Long commentId);

}
